package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * erp订单推送记录(ErpOrderPushMessage)实体类
 *
 * @author makejava
 * @since 2022-06-17 16:16:40
 */
@Data
public class ErpOrderPushMessage implements Serializable {
    private static final long serialVersionUID = 340867405159651389L;
    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 订单id
     */
    private Long orderId;
    /**
     * 推送次数
     */
    private Integer pushNum;
    /**
     * 推送类型：1普通订单 2售后订单 3发货、地址变更
     */
    private Integer pushType;
    /**
     * 是否推送成功
     */
    private Boolean isSuccess;
    /**
     * 推送时间
     */
    private Date createTime;
    /**
     * 商户id
     */
    private Long merchantId;

    /**
     * 推送单位(1:平台ERP 2:OMS)
     */
    private Integer pushUnit;

    /**
     * 推送地址
     */
    private String pushAddress;

    /**
     * 推送参数
     */
    private String pushParameter;
}

